/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.gitee.huangjianbo.supos.openapi.core.entity;

import java.io.Serializable;

/**
 * supOS的版本信息
 *
 * @author tomcat
 * @version 1.0
 */
public class SuposVersion implements Serializable {

    private static final long serialVersionUID = -8863000245930472329L;

    /**
     * 主版本号
     */
    private String majorVersion;
    /**
     * 次版本号
     */
    private String minorVersion;
    /**
     * 构建日期
     */
    private String buildDate;
    /**
     * 提交ID
     */
    private String commitId;
    /**
     * 所属版权
     */
    private String copyright;

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public String getCommitId() {
        return commitId;
    }

    public void setCommitId(String commitId) {
        this.commitId = commitId;
    }

    public String getBuildDate() {
        return buildDate;
    }

    public void setBuildDate(String buildDate) {
        this.buildDate = buildDate;
    }

    public String getMinorVersion() {
        return minorVersion;
    }

    public void setMinorVersion(String minorVersion) {
        this.minorVersion = minorVersion;
    }

    public String getMajorVersion() {
        return majorVersion;
    }

    public void setMajorVersion(String majorVersion) {
        this.majorVersion = majorVersion;
    }

    @Override
    public String toString() {
        return "SuposVersion(majorVersion=" + this.majorVersion
                + ", minorVersion=" + this.minorVersion
                + ", buildDate=" + this.buildDate
                + ", commitId=" + this.commitId
                + ", copyright=" + this.copyright
                + ")";
    }
}
